<template>
  <view class="container">
    <text>加载中...</text>
  </view>
</template>

<script>
export default {
  onLoad() {
    // 页面加载时直接跳转到 main 分包中的首页
    uni.redirectTo({
      url: "/main/home/home", // 跳转到 main 分包中的页面
    });
  },
};
</script>

<style scoped>
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f8f8f8;
}
</style>